#pragma once

enum WIDGET_EVENTS
{
	WIDGETEVENT_NONE,
	WIDGETEVENT_TOUCH
};

class WidgetEvent
{
public:
	WIDGET_EVENTS eventType;

	int x;
	int y;

	WidgetEvent() { x = 0; y = 0; eventType = WIDGETEVENT_NONE; }
};

class Widget
{
	// position of widget
	int m_x;
	int m_y;

protected:

public:
	Widget(void);
	~Widget(void);

	void SetPosition(int x, int y) { m_x = x; m_y = y; }
	void SetX(int x) { m_x = x; }
	void SetY(int y) { m_y = y; }
	int GetX() { return m_x; }
	int GetY() { return m_y; }
};

